package com.grm.workflow.mapper;

import com.grm.workflow.model.WfCategory;
import com.grm.workflow.request.WfCategoryQueryParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WfCategoryMapper {
    List<WfCategory> queryAll();

    List<WfCategory> querySelective(@Param("queryParam")WfCategoryQueryParam queryParam);

    void add(WfCategory wfCategory);

    void update(WfCategory wfCategory);

    void batchDelete(@Param("ids")List<Long> ids);

    WfCategory queryByCode(@Param("code")String code);
}
